function make_deltat()
% function to make a list of randomized delta T times for spike-timing
% dependent potentiation experiments.
%
% 10/15/02 Paul B. Manis, Ph.D.
%
% We use the matlab 5.3 random number generator, initialized to state j before
% generating the numbers.
% the range is 80 msec (+/0 40)
% and it is offset by the expected EPSP latency of 4 msec.
%
j = 4;
nintvl = 25;
range = 40;
epspl = 0;
rand('state', j); % initialzed to state 1
dt = (range*2)*((randperm(nintvl))/nintvl - 0.5)+epspl;
dt'
hist(dt,range/2);